const pageConfig = [
  {
    name: 'work',
    notShow: true,
    pattern: '会计平台化',
    inject: 'work/work.js',
    url: 'https://work.cs.zbj.com',
    urlContains: ['work.cs']
  },
  {
    name: 'saas',
    notShow: true,
    pattern: '八戒财税',
    inject: 'saas.js',
    url: 'https://saas.cs.zbj.com',
    urlContains: ['saas.cs']
  },
  {
    name: '重庆',
    isSupport: true,
    isSupportSyncDeclareType: true,
    type: 'nation',
    inject: 'chongqing/chongqing-nation.js',
    url: 'https://etax.chongqing.chinatax.gov.cn/',
    urlContains: [
      'cqsw.gov', '218.70.65.72', 'cq-l-tax', 'chongqing.chinatax.gov'
    ],
    // supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
    supportTaxType: ['balance', 'profit', 'cash', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '深圳',
    isSupport: true,
    type: 'nation',
    inject: 'shenzhen/shenzhen-nation.js',
    url:
      'https://etax.shenzhen.chinatax.gov.cn/bszm-web/apps/views/beforeLogin/indexBefore/pageIndex.html',
    urlContains: ['dzswj.sztax.gov', '218.70.65.72', 'shenzhen.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '四川',
    isSupport: true,
    type: 'nation',
    inject: 'sichuan/sichuan-nation.js',
    url: 'https://etax.sichuan.chinatax.gov.cn',
    urlContains: ['sichuan.chinatax.gov', '183.221.117.58'],
    supportTaxType: ['balance', 'profit', 'cash', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '浙江',
    isSupport: true,
    isSupportSyncDeclareType: true,
    type: 'nation',
    inject: 'zhejiang/zhejiang-nation.js',
    url: 'https://etax.zhejiang.chinatax.gov.cn/zjgfdzswj/main/index.html',
    urlContains: ['etax.zhejiang.chinatax.gov', '218.70.65.72'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '广东',
    isSupport: true,
    type: 'nation',
    inject: 'guangzhou/guangzhou-nation.js',
    url:
      'https://etax.guangdong.chinatax.gov.cn',
    urlContains: ['etax.guangdong.chinatax.gov.cn', 'guangdong.chinatax.gov.cn'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '江苏',
    isSupport: true,
    type: 'nation',
    inject: 'jiangsu/jiangsu-nation.js',
    url: 'https://etax.jiangsu.chinatax.gov.cn/sso/login',
    urlContains: ['jiangsu.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '云南',
    isSupport: true,
    isSupportSyncDeclareType: true,
    type: 'nation',
    inject: 'yunnan/yunnan-nation.js',
    url: 'https://etax.yunnan.chinatax.gov.cn/zjgfdzswj/main/index.html',
    urlContains: ['yunnan.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '陕西',
    isSupport: true,
    type: 'nation',
    inject: 'shanxi/shanxi-nation.js',
    url:
      'https://etax.shaanxi.chinatax.gov.cn/sso/login?service=https://etax.shaanxi.chinatax.gov.cn/xxmh/html/index_login.html',
    urlContains: ['shaanxi.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '大连',
    isSupport: true,
    type: 'nation',
    inject: 'dalian/dalian-nation.js',
    url: 'https://etax.dalian.chinatax.gov.cn/sso/login',
    urlContains: ['dalian.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '上海',
    isSupport: true,
    isSupportTaxNationType: true,
    type: 'nation',
    inject: 'shanghai/shanghai-nation.js',
    url: 'https://etax.shanghai.chinatax.gov.cn',
    urlContains: ['shanghai.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '青岛',
    isSupport: true,
    isSupportTaxNationType: true,
    type: 'nation',
    inject: 'qingdao/qingdao-nation.js',
    url: 'https://etax.qingdao.chinatax.gov.cn:7553/sso/login',
    urlContains: ['qingdao.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '贵州',
    isSupport: true,
    type: 'nation',
    inject: 'guizhou/guizhou-nation.js',
    url: 'https://etax.guizhou.chinatax.gov.cn/sso/login',
    urlContains: ['guizhou.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '北京',
    isSupport: true,
    type: 'nation',
    inject: 'beijing/beijing-nation.js',
    url:
      'https://etax.beijing.chinatax.gov.cn/sso/login?service=https://etax.beijing.chinatax.gov.cn/xxmh/html/index_login.html',
    urlContains: ['beijing.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '天津',
    type: 'nation',
    inject: '',
    url: 'https://wsswj.tjsat.gov.cn/apps/view/login.html',
    urlContains: ['wsbsfwt.tjsat.gov']
  },
  {
    name: '厦门',
    isSupport: true,
    type: 'nation',
    inject: 'xiamen/xiamen-nation.js',
    url: 'https://ai.xiamen.chinatax.gov.cn/',
    urlContains: ['xiamen.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '山东',
    isSupport: true,
    type: 'nation',
    isSupportSyncDeclareType: true,
    inject: 'shandong/shandong-nation.js',
    url: 'https://etax.shandong.chinatax.gov.cn/',
    urlContains: ['shandong.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '河南',
    isSupport: true,
    isSupportTaxNationType: true,
    type: 'nation',
    inject: 'henan/henan-nation.js',
    url: 'https://etax.henan.chinatax.gov.cn/web/dzswj/ythclient/mh.html',
    urlContains: ['henan.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '河北',
    isSupport: true,
    type: 'nation',
    inject: 'hebei/hebei-nation.js',
    url:
      'https://etax.hebei.chinatax.gov.cn/bszm-web/apps/views-zj/index/index.html',
    urlContains: ['hebei.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash', 'sds', 'hsqj2007', 'hsqj2013']
  },
  {
    name: '甘肃',
    type: 'nation',
    inject: '',
    url:
      'https://etax.gansu.chinatax.gov.cn/bszm-web/apps/views/beforeLogin/indexBefore/pageIndex.html',
    urlContains: ['gansu.chinatax.gov']
  },
  {
    name: '宁夏',
    type: 'nation',
    inject: '',
    url: 'https://etax.ningxia.chinatax.gov.cn/sword?ctrl=LoginCtrlTmp_logout#',
    urlContains: ['ningxia.chinatax.gov']
  },
  {
    name: '山西',
    type: 'nation',
    inject: '',
    url: 'https://etax.shanxi.chinatax.gov.cn/login',
    urlContains: ['shanxi.chinatax.gov']
  },
  {
    name: '福建',
    type: 'nation',
    inject: '',
    url:
      'http://etax.fjtax.gov.cn/sso/login?service=http://etax.fjtax.gov.cn/xxmh/html/index_login.html?t=1546425811300',
    urlContains: ['fjtax.gov']
  },
  {
    name: '湖南',
    isSupport: true,
    isSupportSyncDeclareType: true,
    type: 'nation',
    inject: 'hunan/hunan-nation.js',
    url: 'https://etax.hunan.chinatax.gov.cn/wsbs/toLogin.do',
    urlContains: ['hunan.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '海南',
    type: 'nation',
    inject: '',
    url: 'https://etax.hainan.chinatax.gov.cn/sword?ctrl=LoginCtrlTmp_logout',
    urlContains: ['hainan.chinatax.gov']
  },
  {
    name: '安徽',
    type: 'nation',
    isSupport: true,
    inject: 'anhui/anhui-nation.js',
    url: 'https://etax.anhui.chinatax.gov.cn/',
    urlContains: ['anhui.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '吉林',
    type: 'nation',
    inject: '',
    url:
      'https://etax.jilin.chinatax.gov.cn:10812/sword?ctrl=LoginCtrlTmp_logout',
    urlContains: ['jilin.chinatax']
  },
  {
    name: '黑龙江',
    type: 'nation',
    inject: '',
    url: 'http://www.hl-n-tax.gov.cn/',
    urlContains: ['hl-n-tax.gov']
  },
  {
    name: '宁波',
    type: 'nation',
    inject: '',
    url:
      'https://etax.ningbo.chinatax.gov.cn/nbdzswj-web/apps/views/beforeLogin/indexBefore/pageIndex.html?_t=1554171880184',
    urlContains: ['ningbo.chinatax.gov']
  },
  {
    name: '内蒙古',
    isSupport: true,
    isSupportTaxNationType: true,
    type: 'nation',
    inject: 'neimenggu/neimenggu-nation.js',
    url: 'https://etax.neimenggu.chinatax.gov.cn/login-web/index.html',
    urlContains: ['neimenggu.chinatax', 'rm-neimenggu.taxplusplus.com'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '江西',
    type: 'nation',
    inject: 'jiangxi/jiangxi-nation.js',
    url: 'https://etax.jiangxi.chinatax.gov.cn/etax/jsp/v2/login_v2_init.jsp',
    urlContains: ['etax-jx.gov', 'etax.jiangxi.chinatax'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '西藏',
    type: 'nation',
    inject: '',
    url:
      'https://etax.xizang.chinatax.gov.cn:8443/sword?ctrl=DZBSXTKJ027HomePagelCtrl_welcome',
    urlContains: ['xizang.chinatax.gov']
  },
  {
    name: '辽宁',
    isSupport: true,
    isSupportTaxNationType: true,
    type: 'nation',
    inject: 'liaoning/liaoning-nation.js',
    url: 'https://etax.liaoning.chinatax.gov.cn/sword?ctrl=LoginCtrlTmp_logout',
    urlContains: ['liaoning.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '广西',
    isSupport: true,
    // isSupportTaxNationType: true,
    type: 'nation',
    inject: 'guangxi/guangxi-nation.js',
    url:
      'https://etax.guangxi.chinatax.gov.cn:9723/web/dzswj/ythclient/mh.html',
    urlContains: ['guangxi.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '新疆',
    isSupport: true,
    isSupportTaxNationType: true,
    type: 'nation',
    inject: 'xinjiang/xinjiang-nation.js',
    url:
      'https://etax.xinjiang.chinatax.gov.cn/wszx-web/bszm/apps/views/beforeLogin/indexBefore/pageIndex.html',
    urlContains: ['xinjiang.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  },
  {
    name: '湖北',
    type: 'nation',
    inject: 'hubei/hubei-nation.js',
    url: 'https://etax.hubei.chinatax.gov.cn/portal/',
    urlContains: ['hb-n-tax.gov', 'hubei.chinatax.gov'],
    supportTaxType: ['balance', 'profit', 'cash']
  }
];

export { pageConfig };
